package com.rivulet.dawn.web.controller.account;

import com.rivulet.dawn.api.tools.ResultFul;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: xjc
 * @date: 2022/8/16 14:35
 * @Desc: 账号管理-登录、注册
 **/

@Api(value = "账号管理", tags = "账号管理")
@RestController
@RequestMapping("/account")
public class AccountController {

    @ApiOperation(value = "登录")
    @PostMapping("login")
    public ResultFul login() {
        return ResultFul.OK();
    }

    @ApiOperation(value = "注册")
    @PostMapping("register")
    public ResultFul register() {
        return ResultFul.OK();
    }

}
